Import('env')
prog = env.Program('dvdonfire-daemon', env.Glob('*.cpp'),
                   CPPPATH = ['#'],
                   LIBPATH = ['#/libdvdonfire'],
                   LIBS = ['libdvdonfire', 'tivodecode'])
build = env.Command('#/build/dvdonfire-daemon', prog,
                    Copy('$TARGET', '$SOURCE'))
env.AddPostAction(build, 'strip $TARGET')

# vim: ft=python
